package com.yitianyike.lockscreen.ces.dao;

import java.util.List;
import java.util.Map;

import com.yitianyike.lockscreen.ces.model.PackageInfo;
import com.yitianyike.lockscreen.ces.model.response.Recommend;

public interface PackageDAO {

	public List<PackageInfo> getPackage(int pid, String channelCode);

	public List<Map<String, Object>> organizeMiddle(Map<String, String> parmMap);

	public List<Recommend> organizeTail(Map<String, String> parmMap);

	public List<Map<String, Object>> organizeTop(Map<String, String> parmMap);

	public List<Integer> getRecommendVersion(Map<String, String> paramMap);

	/**
	 * 6带包类推荐,获取父亲包
	 * 
	 * @param i
	 * @param paramMap
	 * @return
	 */
	public List<PackageInfo> getPackage(Integer i, Map<String, String> paramMap);

	public List<Integer> getPackageId(Map<String, String> paramMap);

}
